|
| CuttingEdge.Conditions reference library |
| ConditionValidator<(Of <(T>)>)..::.ThrowException Method (String) |
| ConditionValidator<(Of <(T>)>) Class See Also Send Feedback |
Throws an exception.
Namespace:
CuttingEdge.Conditions
Assembly:
CuttingEdge.Conditions (in CuttingEdge.Conditions.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public Sub ThrowException ( _ condition As String _ ) |
| C# |
|---|
public void ThrowException( string condition ) |
| Visual C++ |
|---|
public: void ThrowException( String^ condition ) |
| JavaScript |
|---|
function throwException(condition); |
Parameters
- condition
- Type: System..::.String
Describes the condition that doesn't hold, e.g., "Value should not be null".